<?php
//
Validator::extend('boolean', '\nimo\common\validator\Validator@Boolean');
Validator::resolver(function ($translator, $data, $rules, $messages) {
    return new \nimo\common\validator\Validator($translator, $data, $rules, $messages);
});
/*
Event::listen('illuminate.query', function ($query, $params, $time, $conn) {
    $b = false;
    $out = fopen('php://stdout', 'w'); //
    fwrite($out,"\n\n".json_encode($query)." ".json_encode($params)."\n".Profiler::debug(3, false, 7));
});
*/